import getPost from '../api/post_api';

const LoadPostAction = async (dispatch:any)=>{
    const res = await getPost();
    dispatch({
        type:'VAR_MANAGE',
        payload:res.data
    })
}

export default LoadPostAction;